package com.usian.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.core.conditions.Wrapper;

import javax.persistence.*;
import java.io.Serializable;
import java.io.Serializable;

@Table(name = "zhanghao")
public class Zhanghao  implements Serializable {


	@Id
	@TableId(value = "id",type = IdType.AUTO)
	@Column(name = "id")
	private Integer id;

	@Column(name = "name")
	private String name;

	@Column(name = "mima")
	private String mima;

	@Column(name = "yid")
	private Integer yid;


	public Zhanghao() {
	}

	public Zhanghao(Integer id, String name, String mima, Integer yid) {	
		this.id = id;
		this.name = name;
		this.mima = mima;
		this.yid = yid;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMima() {
		return mima;
	}

	public void setMima(String mima) {
		this.mima = mima;
	}

	public Integer getYid() {
		return yid;
	}

	public void setYid(Integer yid) {
		this.yid = yid;
	}


	@Override
	public String toString() {
		return "Zhanghao{" +
				"id='" + id + '\'' +
				"name='" + name + '\'' +
				"mima='" + mima + '\'' +
				"yid='" + yid + '\'' +
				'}';
	}

}
